<?php

namespace App\Services\Encrypt;

use Illuminate\Support\ServiceProvider;
use  App\Services\Encrypt\EncryptService;

class EncryptServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    protected $defer = true;
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        //
    }

    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
       
        $this->app->singleton('encrypt', function(){
            return new EncryptService();
        });
    }

    public function provides()
    {
        return ['encrypt'];
    }


}
